package com.chhuang.uresource.bean;


import com.chhuang.core.bean.QueryBean;
import com.chhuang.uresource.po.ULabel;

/**
* ULabel QueryBean
* @author ChHuang
* @date Wed Mar 14 14:38:59 CST 2018
*/
public class ULabelQueryBean extends QueryBean<ULabel>{
	private static final long serialVersionUID = -7561832101792021415L;
	private String labelId;
	public String getLabelId(){
		return labelId;
	}
	public void setLabelId(String labelId){
		this.labelId=labelId;
	}
	private String label;
	public String getLabel(){
		return label;
	}
	public void setLabel(String label){
		this.label=label;
	}
	private String createTime;
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	@Override
	public String fieldTransforColumn(String field) {
		if("labelId".equals(field)){
			return "LABEL_ID";
		}else if("label".equals(field)){
			return "LABEL";
		}else if("createTime".equals(field)){
			return "CREATE_TIME";
		}else{
			return field;
		}
	}
	@Override
	public String columnTransforField(String column) {
		if("LABEL_ID".equals(column)){
			return "labelId";
		}else if("LABEL".equals(column)){
			return "label";
		}else if("CREATE_TIME".equals(column)){
			return "createTime";
		}else{
			return column;
		}
	}
}